import React, {Component} from 'react';
import Navbar from "./Navbar";
import Sidebar from "./Sidebar";

class App
    extends Component {
    render() {
        return (
            <div>
                {/*//类组件*/}
                <Navbar title="导航栏"></Navbar>

                <div></div>
                {/*//函数式*/}
                <Sidebar title="侧边栏"></Sidebar>
            </div>
        );
    }
}


export default App;
